package com.atguigu.srb.core.pojo.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

@ApiModel("借款列表数据模型")
@Data
public class BorrowInfoVO {
    @ApiModelProperty(value = "编号")
    private Long id;
    @ApiModelProperty(value = "借款金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "借款期限")
    private String period;
    @ApiModelProperty(value = "还款方式 1-等额本息 2-等额本金 3-每月还息一次还本 4-一次还本")
    private String returnMethod;
    @ApiModelProperty(value = "资金用途")
    private String moneyUse;
    @ApiModelProperty(value = "年化利率")
    private String borrowYearRate;
    @ApiModelProperty(value = "状态（0：未提交，1：审核中， 2：审核通过， -1：审核不通过）")
    private String status;
    @ApiModelProperty(value = "手机")
    private String mobile;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "会员id")
    private Long userId;
}
